package com.aerospace.algorithm;

import java.util.Scanner;

/**
 * @Author: Aerospace
 * @Date: 2021/5/5 16:44
 * @Description: Dream begins
 */
public class FourOperations {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        String a = sc.nextLine();
        char[] as = a.toCharArray();
        int result = 0;
        for(int i = 0; i<as.length; i++){
            switch (as[i]){
//                case '[':
//                    result = jisuan(i+1,as);
//                case ']':
//                    result = jisuan(i+1,as);
//                case '{':
//                    result = jisuan(i+1,as);
//                case '}':
//                    result = jisuan(i+1,as);
                case '+':
                    result = result + as[i];
                case '-':
                    result = result - as[i];
                case '*':
                    result = result * as[i];
                case '/':
                    result = result / as[i];

            }
        }
    }
}
